﻿namespace SilverlightCalculator
{
    public interface ICalculatorValidator
    {
        void AddError(string propertyName, string message);
        void RemoveErrors(string propertyName);
        void ValidateNumber(string propertyName, string value);
        bool IsPropertyValid(string propertyName);
        string GetErrorMessageForProperty(string propertyName);
        bool IsValid();
    }
}